#if !defined(AFX_ANSWERCLIENT_H__77A8C324_E2DE_45DC_A158_DA0F528E24EE__INCLUDED_)
#define AFX_ANSWERCLIENT_H__77A8C324_E2DE_45DC_A158_DA0F528E24EE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AnswerClient.h : header file
//

typedef void (*CSocketFunc)(class CAnswerClient *socket, int nErrorCode);


/////////////////////////////////////////////////////////////////////////////
// CAnswerClient command target

class CAnswerClient : public CSocket
{
// Attributes
public:

// Operations
public:
	CAnswerClient();
	virtual ~CAnswerClient();

// Overrides
public:
	bool isConnected;
	CSocketFunc ReceiveFunc;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnswerClient)
	public:
	virtual void OnReceive(int nErrorCode);
	virtual void OnConnect(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CAnswerClient)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANSWERCLIENT_H__77A8C324_E2DE_45DC_A158_DA0F528E24EE__INCLUDED_)
